include ../../../../mk/Makefile.root.include
include ../../../../mk/Makefile.libs.include

TARGET_BIN = demo 

PROJ_INC_PATHES += $(SGE_SAFE_API_CLIENT_INC_PATH) \
				   ../api/include \

PROJ_LIB_PATHES += $(SGE_SAFE_API_CLIENT_LIB_PATH) \
				   $(SGE_COMMON_LIB_PATH) \
				   ../api/lib \

PROJ_LIB_NAMES += api_cli_safe \
				  api \
				  easy \
				  pthread \
				  dl \

all: $(TARGET_BIN)

$(TARGET_BIN): $(OBJS)
	$(DO_C_TARGET)

run: $(TARGET_BIN)
	export LD_LIBRARY_PATH=$(SGE_SAFE_API_CLIENT_LIB_PATH):../api/lib/:$(SGE_COMMON_LIB_PATH) &&./$(TARGET_BIN)
		

clean:
	$(DO_CLEAN)
